package com.wjw.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Select;

import com.wjw.bean.Role;


public interface RoleDao {
	
	@Select("select * from t_role")
	public List<Role> findAll();
	
	public List<Role> pagefind(Map<String,Object> mp);
	
	@Select("select count(*) from t_role")
	public Integer findPageNum(Map<String,Object> mp);

	public void insertRolePer(Map<String, Object> map);
	
	public void delPermissions(Map<String, Object> map);
}
